<script setup>
defineProps(['title'])
defineEmits(['add_count'])
const count = defineModel('count')
import {ref} from 'vue'

//const inner_count = ref(10)

</script>

<template>
    <button @click="count++">
        <span>{{ title }}: you clicked {{ count }}</span>
        <slot />
    </button>
</template>